import request from '@/utils/request'

// 查询参会记录列表
export function listMeetingRecord(query) {
  return request({
    url: '/meeting/meetingRecord/list',
    method: 'get',
    params: query
  })
}

// 查询参会记录详细
export function getMeetingRecord(id) {
  return request({
    url: '/meeting/meetingRecord/' + id,
    method: 'get'
  })
}

// 新增参会记录
export function addMeetingRecord(data) {
  return request({
    url: '/meeting/meetingRecord',
    method: 'post',
    data: data
  })
}

// 修改参会记录
export function updateMeetingRecord(data) {
  return request({
    url: '/meeting/meetingRecord',
    method: 'put',
    data: data
  })
}

// 删除参会记录
export function delMeetingRecord(id) {
  return request({
    url: '/meeting/meetingRecord/' + id,
    method: 'delete'
  })
}
